package com.example.demo.mapper.userMapper;

import com.example.demo.domain.User.UserInfo;
import com.example.demo.domain.User.UserLogin;
import com.example.demo.domain.User.UserQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int registUser(UserInfo userInfo);
    UserInfo getUser(String userName);

    int deleteUser(String userName);

    
    int modifyUser(UserInfo userInfo);
    List<UserInfo>pageQuery (UserQuery userQuery);

    int loginUser(UserLogin userLogin);

    int addUser(UserInfo userInfo);
}
